package com.amiu.shiro.db.user_role;

public class UserRole {
	private long id;
	private long user_id;
	private long role_id;
	private String description;
	
	public UserRole (){}
	 
	public UserRole (long user_id,long role_id,String description){
		this.user_id = user_id;
		this.role_id = role_id;
		this.description = description;
	}
	
	public UserRole (long id,long user_id,long role_id,String description){
		this.id = id;
		this.user_id = user_id;
		this.role_id = role_id;
		this.description = description;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUser_id() {
		return user_id;
	}
	public void setUser_id(long user_id) {
		this.user_id = user_id;
	}
	public long getRole_id() {
		return role_id;
	}
	public void setRole_id(long role_id) {
		this.role_id = role_id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	@Override
	public String toString() {
		return "$UserRole$ --> ID: "+id+",USER_ID: "+user_id+",ROLE_ID: "+role_id+",DESCRIPTION: "+description;
	}
}
